package string;

public class Demo12 {
    public static void main(String[] args) {
        String str ="Thinking in Java 是本好书";
        int index = str.indexOf("in",3);//5
       // index =str.indexOf("in",9);//9
        System.out.println(index);

    }
}
